package com.lee.mybatis.mapper;

import com.lee.mybatis.entity.Item;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItemMapper {

    void insert(Item item);

    Item selectById(@Param("id")int id);

    List<Item> selectAll();

    void updateById(Item item);

    void deleteById(@Param("id")int id);
}
